﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;


namespace Automaton.Server
{
    [RunInstaller(true)]
    public partial class ProjectInstaller : System.Configuration.Install.Installer
    {
        public ProjectInstaller()
        {
            InitializeComponent();
        }

        //void InitializeComponent()
        //{

        //this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
        //this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
        //this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
        //this.serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceProcessInstaller1_AfterInstall);
        //this.serviceInstaller1.ServiceName = “AutomatonServer”;
        //this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
        //this.Installers.AddRange(new System.Configuration.Install.Installer[] {
        //this.serviceProcessInstaller1,
        //this.serviceInstaller1});

        //}
    }
}
